package com.hazardSoft.eStore.utils;

import java.sql.Date;

public class Dates {
	
	public static Date calculateDate(){
		java.util.Date date = new java.util.Date();
		Date sqlDate = new Date(date.getTime());
		
		return sqlDate;
	}
	
	public static boolean compareDates(Date offerDate){
		if (offerDate.compareTo(calculateDate()) >= 0) {
			return true;
		}
		return false;
	}
}
